﻿@model iChip.Hotspots.Models.Field
@{
    Layout = null;
}

<div class="form-inline">
    <form class="form-inline">
        <div class="form-group">
            @Html.TextBoxFor(m => m.Field_Name, new { placeholder = "VD: Email của bạn", @class = "form-control", Name = "Field_Name" })
            @*<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter email">*@
        </div>
        <div class="form-group">
            @Html.DropDownListFor(m => m.FieldType_Id, (List<SelectListItem>)ViewBag.Field_Type, new { @class = "form-control", Name = "Field_Type" })
        </div>
        <div class="checkbox form-group">
            <label>
                @Html.CheckBoxFor(m => m.Field_IsRequire, new { Name = "Field_IsRequire" }) Bắt buộc
            </label>
        </div>
        <button type="button" class="btn btn-danger" style="float:right" data-field-id="0" onclick="DelField(this)" >Xóa</button>
        <button type="button" class="btn btn-success" style="float:right" data-field-id="0" onclick="AddFieldValue(this)">Giá trị</button>
    </form>
    <hr />
</div>